// Form-File-Upload.js
// ====================================================================
// This file should not be included in your project.
// This is just a sample how to initialize plugins or components.
//
// - ThemeOn.net -


$(document).ready(function () {

    // DROPZONE.JS
    // =================================================================
    // Require Dropzone
    // http://www.dropzonejs.com/
    // =================================================================
    Dropzone.options.demoDropzone = { // The camelized version of the ID of the form element
        // The configuration we've talked about above
        autoProcessQueue: true,
        uploadMultiple: false,
        parallelUploads: 25,
        maxFiles: 10,
        paramName: "file",
        addRemoveLinks: true,
        //maxFiles: 25,
        url: "/admin/attachment/upload",
        success:function (file,data) {
            
        },
        // The setting up of the dropzone
        init: function () {
            //var myDropzone = this;
            //  Here's the change from enyo's tutorial...
            //  $("#submit-all").click(function (e) {
            //  e.preventDefault();
            //  e.stopPropagation();
            //  myDropzone.processQueue();
            //
            //}
            //    );

        }

    }


});
